	<?php
	use Application\Model\vn3dUtil;
	?>
		<div id="vn3d-slide" class="vn3d-wrap">
			<div id="carousel-example-generic" class="carousel slide"
				data-ride="carousel">
				<!-- Indicators -->
				<ol class="carousel-indicators">
					<li data-target="#carousel-example-generic" data-slide-to="0"
						class="active"></li>
					<li data-target="#carousel-example-generic" data-slide-to="1"></li>
					<li data-target="#carousel-example-generic" data-slide-to="2"></li>
					<li data-target="#carousel-example-generic" data-slide-to="3"></li>
					<li data-target="#carousel-example-generic" data-slide-to="4"></li>
					<li data-target="#carousel-example-generic" data-slide-to="5"></li>
					<li data-target="#carousel-example-generic" data-slide-to="6"></li>
					<li data-target="#carousel-example-generic" data-slide-to="7"></li>
				</ol>

				<!-- Wrapper for slides -->
				<div class="carousel-inner">
  <?php
$j = 1;
foreach ($topProduct as $key => $product) {
    ?>
    <div class="item <?php echo $j==1?"active":"";?>">
						<img src="/banner/<?php echo $product['id'];?>"
							alt="<?php echo $product['name'];?>">
					</div>
   <?php
    $j ++;
}
?>
  </div>

				<!-- Controls -->
				<a class="left carousel-control" href="#carousel-example-generic"
					data-slide="prev"> <span class="glyphicon glyphicon-chevron-left"></span>
				</a> <a class="right carousel-control"
					href="#carousel-example-generic" data-slide="next"> <span
					class="glyphicon glyphicon-chevron-right"></span>
				</a>
			</div>

		</div>
		<div id="wn3d-banner2" class="vn3d-wrap">
		<a href="/store/product/<?php echo $product["id"];?>/<?php echo vn3dUtil::convertUrlSeo($product["name"]);?>" >
			<img src="/banner/<?php echo $product['id'];?>"
							alt="<?php echo $product['name'];?>">
         </a>
		</div>
<div>
<hr>
<h4>New products</h4>
<?php foreach ($newProduct as $key => $product) {


    ?>
    <div class="col-md-4 pull-left" style="margin-bottom: 5px;margin-bottom: 5px">
   <a href="/store/product/<?php echo $product["id"];?>/<?php echo vn3dUtil::convertUrlSeo($product["name"]);?>" >
    <img alt="<?php echo $product["name"];?>" src="/banner/<?php echo $product["id"];?>" width="212px" height="92px">
    </a>
    </div>
    <?php
}?>
</div>
<div>
<hr>
<h4>Featured levels</h4>
<?php foreach ($featuredLevels as $key => $product) {


    ?>
    <div class="col-md-4 pull-left" style="margin-bottom: 5px;margin-bottom: 5px">
    <img alt="<?php echo $product["name"];?>" src="/banner/<?php echo $product["id"];?>" width="212px" height="92px">
    </div>
    <?php
}?>
</div>
<div>
<hr>
<h4>Featured characters</h4>
<?php foreach ($featuredCharacters as $key => $product) {


    ?>
    <div class="col-md-4 pull-left" style="margin-bottom: 5px;margin-bottom: 5px">
    <img alt="<?php echo $product["name"];?>" src="/banner/<?php echo $product["id"];?>" width="212px" height="92px">
    </div>
    <?php
}?>
</div>